package top.frsf.pattern.c_behavioral.b_chainrespon.tomcat.impl;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author FRSF
 * @since 2024/8/31 18:33
 */
public class HttpHeaderFilter implements Filter {
    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        System.out.println("HttpHeaderFilter Pre Execute");
        chain.doFilter(request, response);
        System.out.println("HttpHeaderFilter Post Execute");
    }
}
